Skip to content
Snippets Groups Projects
Commit e0c3e36e authored by Sangbaek Lee's avatar Sangbaek Lee
Browse files

Update Makefile

parent 713cd214
Branches
No related tags found
No related merge requests found
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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment