Fixed makefile.

parent 337aed09
...@@ -4,11 +4,8 @@ LFLAGS=-lm ...@@ -4,11 +4,8 @@ LFLAGS=-lm
all: test all: test
test: test.c methods.c test: test.o methods.o
$(CC) $(CFLAGS) $(LFLAGS) -o $@ $^ $(CC) $(CFLAGS) $(LFLAGS) -o $@ $^
#%.o: %.c
# $(CC) $(CFLAGS) $(LFLAGS) -o $@ $^
clean: clean:
rm *.o test rm *.o test
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment