forked from tatwik-sai/QuickTicket
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
26 lines (19 loc) · 666 Bytes
/
Makefile
File metadata and controls
26 lines (19 loc) · 666 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
CFLAGS = -Wno-implicit-function-declaration
rerun: main.o sqlite3.o database.o utils.o
@echo Linking and producing the final application
@gcc $(CFLAGS) main.o database.o sqlite3.o utils.o -o QuickTicket
main.o: main.c interface.c
@echo Compling main file
@gcc $(CFLAGS) -c main.c
database.o: database.c
@echo Compiling the database file
@gcc $(CFLAGS) -c database.c
sqlote3.o: sqlite3.c
@echo Compiling the sqlite3 file
@gcc $(CFLAGS) -c sqlite3.c
utils.o: utils.c
@echo Compiling the utils file
@gcc $(CFLAGS) -c utils.c
clean:
@echo Removing everything but the source and sqlite3.o files
@rm main.o database.o utils.o