mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-07-16 11:06:44 -04:00
Working UTK decompression!
Additionally: * Moved opus into the Libraries folder * Moved freetype into the Libraries folder
This commit is contained in:
parent
8d06606f28
commit
e53580919a
7 changed files with 605 additions and 16 deletions
30
Libraries/FileHandler/utk/Makefile
Normal file
30
Libraries/FileHandler/utk/Makefile
Normal file
|
@ -0,0 +1,30 @@
|
|||
# macros --------------------------------------------------------------------
|
||||
CC = gcc
|
||||
LD = gcc
|
||||
CFLAGS = -m32 -Wall -Wextra -Wabi -Os -march=i686 -fomit-frame-pointer -g0
|
||||
LDFLAGS = -m32 -s -fwhole-program
|
||||
|
||||
AR = ar rcs
|
||||
WINDRES = windres -F pe-i386
|
||||
|
||||
OBJECTS = obj/read_utk.o obj/utkdecode.o
|
||||
|
||||
# These will rebuild the entire library upon edit.
|
||||
DEPS = Makefile \
|
||||
read_utk.h
|
||||
|
||||
# dependencies --------------------------------------------------------------
|
||||
all: utkdecode.exe
|
||||
|
||||
$(OBJECTS): $(DEPS)
|
||||
|
||||
utkdecode.exe: $(OBJECTS)
|
||||
$(CC) $(LDFLAGS) -o $@ $(OBJECTS)
|
||||
|
||||
# make rules ----------------------------------------------------------------
|
||||
obj/%.o: %.c
|
||||
$(CC) -c -ansi -pedantic $(CFLAGS) -o $@ $<
|
||||
|
||||
# maintenance ---------------------------------------------------------------
|
||||
clean:
|
||||
del /Q /S obj utkdecode.exe
|
Loading…
Add table
Add a link
Reference in a new issue