13 lines
185 B
Makefile
13 lines
185 B
Makefile
|
CPPFLAGS += -DNO_PROTOTYPES=1
|
||
|
LDLIBS += -lm
|
||
|
|
||
|
all: dhrystone
|
||
|
|
||
|
dhrystone: dhry_1.o dhry_2.o
|
||
|
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS)
|
||
|
|
||
|
clean:
|
||
|
rm -f *.o dhrystone
|
||
|
|
||
|
.PHONY: all clean
|