mirror of https://framagit.org/bortzmeyer/echoping
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
208 B
Makefile
18 lines
208 B
Makefile
20 years ago
|
CCFLAGS=-Wall -O0 -g -fPIC
|
||
|
LDFLAGS=-shared
|
||
|
|
||
|
OBJECTS=daytime.o
|
||
|
|
||
|
all: daytime.so
|
||
|
|
||
|
%.o: %.c
|
||
|
${CC} ${CCFLAGS} -c -o $@ $<
|
||
|
|
||
|
%.so: %.o
|
||
|
${CC} ${LDFLAGS} -o $@ $<
|
||
|
|
||
|
clean:
|
||
|
-rm -f *.o *.so
|
||
|
|
||
|
.SECONDARY: ${OBJECTS}
|