Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CC = gcc
- CFLAGS = -ggdb3 -Wall -lm `pkg-config --cflags gtk+-2.0`
- LIBS = `pkg-config --libs gtk+-2.0`
- all: mainout clean
- mainout: main.o draw.o floyds.o simpletools.o graph.o tads.o bucket.o
- $(CC) $(LIBS) -o mainout main.o draw.o floyds.o simpletools.o graph.o tads.o bucket.o
- main.o: main.c draw.h floyds.h simpletools.h graph.h tads.o bucket.o
- $(CC) $(CFLAGS) -c main.c
- draw.o: draw.c simpletools.h graph.h
- $(CC) $(CFLAGS) -c draw.c
- floyds.o: floyds.c draw.h simpletools.h graph.h
- $(CC) $(CFLAGS) -c floyds.c
- simpletools.o: simpletools.c
- $(CC) $(CFLAGS) -c simpletools.c
- graph.o: graph.c
- $(CC) $(CFLAGS) -c graph.c
- tads.o: tads.c bucket.h graph.h
- $(CC) $(CFLAGS) -c tads.c
- bucket.o: bucket.c
- $(CC) $(CFLAGS) -c bucket.c
- .PHONY: clean
- clean:
- rm *.o
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement