Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ONY: clean
- all: TheBeatles
- TheBeatles: thebeatles.o libjp.a libgr.so
- gcc -o TheBeatles thebeatles.o libjp.a libgr.so
- thebeatles.o: thebeatles.c
- gcc -c thebeatles.c
- libjp.a: pr.o pp.o
- ar rs libjp.a pr.o pp.o
- pr.o: pr.c
- gcc -c pr.c
- pp.o: pp.c
- gcc -c pp.c
- libgr.so: pj.o pg.o
- gcc -shared -o libgr.so pj.o pg.o
- pj.o: pj.c
- gcc -fPIC -c pj.c
- pg.o: pg.c
- gcc -fPIC -c pg.c
- clean:
- rm -f *.o *.a *.so TheBeatles
- .PHONY: clean
- all: TheBeatles
- TheBeatles: thebeatles.o libjp.a libgr.so
- gcc -o $@ $< libjp.a libgr.so
- thebeatles.o: thebeatles.c
- gcc -c $<
- libjp.a: pr.o pp.o
- ar rs $@ $^
- pr.o: pr.c
- gcc -c $<
- pp.o: pp.c
- gcc -c $<
- libgr.so: pj.o pg.o
- gcc -shared -o $@ $^
- pj.o: pj.c
- gcc -fPIC -c $<
- pg.o: pg.c
- gcc -fPIC -c $<
- clean:
- rm -f *.o *.a *.so TheBeatles
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement