Commit 65f2a370 authored by Sander van Veen's avatar Sander van Veen

Cleaned Makefile.

parent ed8fe53c
......@@ -4,17 +4,11 @@ LFLAGS=-lm
all: q1 q2 q3
q1: q1.o
$(CC) $(CFLAGS) $(LFLAGS) -o $@ $^
q2: q2.o
$(CC) $(CFLAGS) $(LFLAGS) -o $@ $^
q3: q3.o
q%: q%.o
$(CC) $(CFLAGS) $(LFLAGS) -o $@ $^
%.o: %.c
$(CC) $(CFLAGS) $(LFLAGS) -o $@ -c $^
$(CC) $(CFLAGS) -o $@ -c $^
clean:
for i in `seq 5`; do \
......
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