Fix dependency issue in Makefile

Make the dependency and compile command match in the resources used.
This commit is contained in:
Dan McGee
2012-02-24 14:24:10 -06:00
parent be145fa704
commit 82e7cf8490
+1 -1
View File
@@ -4,7 +4,7 @@ OBJS=socketlib.o shairport.o alac.o hairtunes.o
all: hairtunes shairport
hairtunes: hairtunes.c alac.o
$(CC) $(CFLAGS) -DHAIRTUNES_STANDALONE hairtunes.c alac.c -o $@ $(LDFLAGS)
$(CC) $(CFLAGS) -DHAIRTUNES_STANDALONE hairtunes.c alac.o -o $@ $(LDFLAGS)
shairport: $(OBJS)
$(CC) $(CFLAGS) $(OBJS) -o $@ $(LDFLAGS)