Mercurial > msvpvf
view Makefile @ 79:8f90d5addda9 v2.0
*: refactor... basically everything!
The Win32 GUI version is now unicode-friendly. HOWEVER, ANSI still very
much works. you can configure which version to use through `-DUNICODE=0/1`
in CFLAGS.
the CLI is also friendlier and uses a more sane interface as well.
note: the command line flags (which were optional before) are now required.
Unicode filenames will not work on Windows because Windows sucks.
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Wed, 20 Mar 2024 17:06:26 -0400 |
parents | 207684d44b54 |
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