-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
44 lines (30 loc) · 904 Bytes
/
Makefile
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Customizable datas (language, plattform related datas...)
CC=gcc
FLAGS= -Wall -ansi -pedantic
TMPFILES = *.o *~
OS=-DDOS # ascii fix if dos is the plattforms
LG= -DENG # Choose your Language
#LG=-DFRENCH
EXE=hideur # Choose the executable name
#EXE=hideur.exe
CLEANCMD=rm -f# the clean command (MS-DOS)
#CLEANCMD=del
# Datas which should'nt be edited
#DEBUG=-DDBG
hideur : header.o main.o
$(CC) -o $(EXE) header.o main.o $(FLAGS) $(LG) $(OS) $(DEBUG)
@echo Ok...
@./hideur
header.o : header.c header.h messages.h debug.h aff.h
$(CC) -c header.c $(LG) $(DEBUG) $(OS)
main.o : main.c header.h header.c messages.h debug.h
$(CC) -c main.c $(LG) $(DEBUG) $(OS)
clean :
@$(CLEANCMD) $(TMPFILES)
@echo Ok...
superclean :
@$(CLEANCMD) $(TMPFILES) $(EXE)
idiot :
@echo Agaaaa...gagaga.
release: hideur
7z a hideur.7z ALIRE README.md hideur*