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