view Makefile @ 80:719570851563

Added tag v2.0 for changeset 8f90d5addda9
author Paper <paper@paper.us.eu.org>
date Wed, 20 Mar 2024 17:09:43 -0400
parents 8f90d5addda9
children c06dcab17923
line wrap: on
line source

_CFLAGS = -Wall -O2 -Iinclude $(CFLAGS)
_LDFLAGS = $(LDFLAGS)

.c.o:
	$(CC) -c $(_CFLAGS) $< -o $@

# this is a unix-like version, barely functional on windows.
msvpvf: src/main.o src/common.o
	$(CC) $(_CFLAGS) -o $@ $^  $(_LDFLAGS)

# windows-specific
gui: src/gui.o src/common.o
	$(CC) -o $@ $^ -mwindows -lole32 -lshlwapi -luuid -lmsvcrt $(_LDFLAGS)

clean:
	rm -f src/main.o src/common.o src/gui.o msvpvf gui