diff --git a/Makefile b/Makefile index f759c0c68f5a98865d53fca0cb6ec3edf8260a7d..8a786c3c7463663aa7b5ddc60f9b169c56bf74fb 100644 --- a/Makefile +++ b/Makefile @@ -1,26 +1,16 @@ -SRCS := test_temp.c fx_s4716_double.c +SRCS := test_comp.c fx_s4716_double.c fx_s4716_longlong.c OBJS := $(SRCS:.c=.o) -SRCS2 := test.c fx_s4716_double.c fx_s4716_longlong.c -OBJS2 := $(SRCS2:.c=.o) - CC := gcc CFLAGS = -c -Wall -g -final : mytest mytest2 - -mytest : $(OBJS) fx_s4716_double.h - $(CC) -o $@ $^ -lm - -mytest2 : $(OBJS2) fx_s4716_double.h fx_s4716_longlong.h - $(CC) -o $@ $^ -lm -pg +mytest : $(OBJS) fx_s4716_double.h fx_s4716_longlong.h + $(CC) -o $@ $(OBJS) -lm -pg # dummy target clean : -rm $(OBJS) - -rm $(OBJS2) rm mytest - rm mytest2 dep : gccmakedep $(SRCS)