Use CC/LD

This commit is contained in:
Erik Ekman 2007-01-28 03:08:31 +00:00
parent 19a0b9a382
commit 5b149413cb

View File

@ -12,11 +12,11 @@ all: $(TEST)
./$(TEST) ./$(TEST)
$(TEST): $(OBJS) $(SRCOBJS) $(TEST): $(OBJS) $(SRCOBJS)
@echo Linking test @echo LD $(TEST)
@$(CC) -o $@ $(SRCOBJS) $(OBJS) $(LDFLAGS) @$(CC) -o $@ $(SRCOBJS) $(OBJS) $(LDFLAGS)
.c.o: .c.o:
@echo Building $< @echo CC $<
@$(CC) $(CFLAGS) -c $< @$(CC) $(CFLAGS) -c $<