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