Mercurial > msvpvf
annotate Makefile @ 39:b32218b54640
Use ANSI instead of Unicode (Windows 95 support)
I don't know why I used Unicode in the first place :p
| author | Paper <37962225+mrpapersonic@users.noreply.github.com> | 
|---|---|
| date | Fri, 22 Apr 2022 02:08:59 -0400 | 
| parents | 7103ac60ebdc | 
| children | 7cb4ca7cf257 | 
| rev | line source | 
|---|---|
| 
6
 
d1e5b8390cd3
Add Windows GUI version and a multitude of other changes
 
Paper <mrpapersonic@gmail.com> 
parents: 
3 
diff
changeset
 | 
1 CC_FLAGS=-Wall -O2 | 
| 
 
d1e5b8390cd3
Add Windows GUI version and a multitude of other changes
 
Paper <mrpapersonic@gmail.com> 
parents: 
3 
diff
changeset
 | 
2 LD_FLAGS= | 
| 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 | |
| 
6
 
d1e5b8390cd3
Add Windows GUI version and a multitude of other changes
 
Paper <mrpapersonic@gmail.com> 
parents: 
3 
diff
changeset
 | 
7 msvpvf: src/main.o | 
| 1 | 8 $(CC) -o $@ $< $(CC_FLAGS) $(LD_FLAGS) | 
| 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! | 
| 
 
d1e5b8390cd3
Add Windows GUI version and a multitude of other changes
 
Paper <mrpapersonic@gmail.com> 
parents: 
3 
diff
changeset
 | 
11 gui: src/gui.o | 
| 
 
d1e5b8390cd3
Add Windows GUI version and a multitude of other changes
 
Paper <mrpapersonic@gmail.com> 
parents: 
3 
diff
changeset
 | 
12 $(CC) -o $@ $< $(CC_FLAGS) $(LD_FLAGS) -mwindows | 
| 
 
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 | 
