From e0c3e36e23b528f5ed014a96d8ab01ee180dd40b Mon Sep 17 00:00:00 2001 From: sangbaeklee <esangbaek@ajou.ac.kr> Date: Thu, 20 Aug 2020 00:56:41 +0900 Subject: [PATCH] Update Makefile --- Makefile | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/Makefile b/Makefile index f759c0c..8a786c3 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) -- GitLab