Makefile
This commit is contained in:
parent
8ebda53bb7
commit
fe54842f04
|
@ -16,7 +16,7 @@
|
|||
CC=cc
|
||||
CXX=c++
|
||||
LIBRARIES=
|
||||
TARGET0=mcstime_test
|
||||
TARGET0=gmtime
|
||||
TARGET= $(TARGET0)
|
||||
INCLUDE1=$(HOME)/projects/include
|
||||
INCLUDE2=/usr/local/include
|
||||
|
@ -91,18 +91,12 @@ clean:
|
|||
# R U L E S |
|
||||
#________________________________|
|
||||
target_objs0 = \
|
||||
mcstime_test.o \
|
||||
mcstime.o
|
||||
gmtime.o
|
||||
|
||||
$(TARGET0): $(target_objs0)
|
||||
$(CC) $(LDFLAGS) -o $@ $(target_objs0)
|
||||
|
||||
|
||||
mcstime_test.o: \
|
||||
mcstime_test.c \
|
||||
$(INCLUDE1)/mcstime.h
|
||||
|
||||
mcstime.o: \
|
||||
$(INCLUDE1)/mcstime.c \
|
||||
$(INCLUDE1)/mcstime.h
|
||||
gmtime.o: \
|
||||
gmtime.c
|
||||
|
||||
|
|
Loading…
Reference in New Issue