You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
SRCS = PR26261-obja.c PR26261-objb.c PR26261-main.c
|
|
EXE = PR26261-exe
|
|
OBJS = $(SRCS:.c=.o)
|
|
CFLAGS = -Wall -g
|
|
|
|
all: $(EXE)
|
|
|
|
%.o: %.c
|
|
$(CC) $(CFLAGS) -c $<
|
|
|
|
$(EXE): $(OBJS)
|
|
gcc -fPIC $(OBJS) -o $@
|
|
|
|
cleanobjs:
|
|
rm -rf $(OBJS)
|
|
|
|
cleanexe:
|
|
rm $(EXE)
|
|
|
|
clean: cleanobjs
|
|
rm -rf *~
|