ex29
This commit is contained in:
@@ -1,14 +1,18 @@
|
||||
SHELL=/bin/bash
|
||||
CFLAGS=-Wall -g -DNDEBUG
|
||||
SHELL = /bin/bash
|
||||
CFLAGS = -Wall -g -DNDEBUG -fPIC
|
||||
LDLIBS = -ldl
|
||||
|
||||
EXERCISES := $(shell ./list-exercises)
|
||||
|
||||
all: $(EXERCISES)
|
||||
all: $(EXERCISES) libex29.so
|
||||
|
||||
ex19: object.o
|
||||
|
||||
ex22_main: ex22.o
|
||||
|
||||
libex29.so: libex29.o
|
||||
$(CC) -shared -o $@ $<
|
||||
|
||||
clean:
|
||||
shopt -s nullglob ; \
|
||||
$(RM) $(EXERCISES) *.o *.a
|
||||
|
Reference in New Issue
Block a user