annotate Makefile @ 83:837c5380d6f9

CI: add CI builds
author Paper <paper@paper.us.eu.org>
date Fri, 22 Mar 2024 22:26:57 -0400
parents c06dcab17923
children 1acd477da42f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
79
8f90d5addda9 *: refactor... basically everything!
Paper <paper@paper.us.eu.org>
parents: 68
diff changeset
1 _CFLAGS = -Wall -O2 -Iinclude $(CFLAGS)
8f90d5addda9 *: refactor... basically everything!
Paper <paper@paper.us.eu.org>
parents: 68
diff changeset
2 _LDFLAGS = $(LDFLAGS)
54
76698158a01a Fix building on macOS
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents: 53
diff changeset
3
79
8f90d5addda9 *: refactor... basically everything!
Paper <paper@paper.us.eu.org>
parents: 68
diff changeset
4 .c.o:
8f90d5addda9 *: refactor... basically everything!
Paper <paper@paper.us.eu.org>
parents: 68
diff changeset
5 $(CC) -c $(_CFLAGS) $< -o $@
1
528b95e1e24f Add source and makefile
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
6
79
8f90d5addda9 *: refactor... basically everything!
Paper <paper@paper.us.eu.org>
parents: 68
diff changeset
7 # this is a unix-like version, barely functional on windows.
47
7cb4ca7cf257 Use a common.c file to hold concurrent functions
Paper <mrpapersonic@gmail.com>
parents: 27
diff changeset
8 msvpvf: src/main.o src/common.o
81
c06dcab17923 *: change license to BSD, update README for Unicode
Paper <paper@paper.us.eu.org>
parents: 79
diff changeset
9 $(CC) $(_CFLAGS) -o $@ $^ $(_LDFLAGS)
1
528b95e1e24f Add source and makefile
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
10
79
8f90d5addda9 *: refactor... basically everything!
Paper <paper@paper.us.eu.org>
parents: 68
diff changeset
11 # windows-specific
47
7cb4ca7cf257 Use a common.c file to hold concurrent functions
Paper <mrpapersonic@gmail.com>
parents: 27
diff changeset
12 gui: src/gui.o src/common.o
79
8f90d5addda9 *: refactor... basically everything!
Paper <paper@paper.us.eu.org>
parents: 68
diff changeset
13 $(CC) -o $@ $^ -mwindows -lole32 -lshlwapi -luuid -lmsvcrt $(_LDFLAGS)
6
d1e5b8390cd3 Add Windows GUI version and a multitude of other changes
Paper <mrpapersonic@gmail.com>
parents: 3
diff changeset
14
1
528b95e1e24f Add source and makefile
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
15 clean:
79
8f90d5addda9 *: refactor... basically everything!
Paper <paper@paper.us.eu.org>
parents: 68
diff changeset
16 rm -f src/main.o src/common.o src/gui.o msvpvf gui