Mercurial > msvpvf
annotate Makefile @ 53:bc85395ff699
[Makefile] Remove unused functions
| author | Paper <37962225+mrpapersonic@users.noreply.github.com> | 
|---|---|
| date | Sun, 22 May 2022 04:27:55 -0400 | 
| parents | 652343b56a60 | 
| children | 76698158a01a | 
| rev | line source | 
|---|---|
| 
53
 
bc85395ff699
[Makefile] Remove unused functions
 
Paper <37962225+mrpapersonic@users.noreply.github.com> 
parents: 
48 
diff
changeset
 | 
1 CC_FLAGS=-Wall -O2 -fstack-protector -fdata-sections -ffunction-sections | 
| 
 
bc85395ff699
[Makefile] Remove unused functions
 
Paper <37962225+mrpapersonic@users.noreply.github.com> 
parents: 
48 
diff
changeset
 | 
2 LD_FLAGS=-Wl,--gc-sections | 
| 1 | 3 | 
| 
6
 
d1e5b8390cd3
Add Windows GUI version and a multitude of other changes
 
Paper <mrpapersonic@gmail.com> 
parents: 
3 
diff
changeset
 | 
4 src/%.o : src/%.c | 
| 1 | 5 $(CC) -c $(CC_FLAGS) $< -o $@ | 
| 6 | |
| 
47
 
7cb4ca7cf257
Use a common.c file to hold concurrent functions
 
Paper <mrpapersonic@gmail.com> 
parents: 
27 
diff
changeset
 | 
7 msvpvf: src/main.o src/common.o | 
| 
53
 
bc85395ff699
[Makefile] Remove unused functions
 
Paper <37962225+mrpapersonic@users.noreply.github.com> 
parents: 
48 
diff
changeset
 | 
8 $(CC) $(CC_FLAGS) -o $@ $^ $(LD_FLAGS) | 
| 1 | 9 | 
| 
6
 
d1e5b8390cd3
Add Windows GUI version and a multitude of other changes
 
Paper <mrpapersonic@gmail.com> 
parents: 
3 
diff
changeset
 | 
10 # GUI is windows-only, please use cross-compiler! | 
| 
47
 
7cb4ca7cf257
Use a common.c file to hold concurrent functions
 
Paper <mrpapersonic@gmail.com> 
parents: 
27 
diff
changeset
 | 
11 gui: src/gui.o src/common.o | 
| 
53
 
bc85395ff699
[Makefile] Remove unused functions
 
Paper <37962225+mrpapersonic@users.noreply.github.com> 
parents: 
48 
diff
changeset
 | 
12 $(CC) $(CC_FLAGS) -o $@ $^ $(LD_FLAGS) -mwindows | 
| 
6
 
d1e5b8390cd3
Add Windows GUI version and a multitude of other changes
 
Paper <mrpapersonic@gmail.com> 
parents: 
3 
diff
changeset
 | 
13 | 
| 1 | 14 clean: | 
| 
6
 
d1e5b8390cd3
Add Windows GUI version and a multitude of other changes
 
Paper <mrpapersonic@gmail.com> 
parents: 
3 
diff
changeset
 | 
15 rm -f src/*.o *.exe msvpvf gui | 
