first commit
This commit is contained in:
26
tools/vispatch-1.4.6/source/makefile.djgpp
Normal file
26
tools/vispatch-1.4.6/source/makefile.djgpp
Normal file
@@ -0,0 +1,26 @@
|
||||
# GNU Makefile for vispatch 32 bit DOS binaries using GCC (DJGPP).
|
||||
# $Id: makefile.djgpp,v 1.5 2011/10/08 14:10:04 sezero Exp $
|
||||
|
||||
CC ?= gcc
|
||||
|
||||
OBJECTS:= utilslib.o \
|
||||
strlcat.o \
|
||||
strlcpy.o \
|
||||
vispatch.o
|
||||
|
||||
OPTIMIZATIONS= -O2
|
||||
|
||||
CFLAGS = -g -Wall -W -Wshadow $(OPTIMIZATIONS)
|
||||
LDFLAGS= -lc
|
||||
|
||||
all: vispatch.exe
|
||||
|
||||
.c.o:
|
||||
$(CC) $(CFLAGS) -c $*.c
|
||||
|
||||
vispatch.exe: $(OBJECTS)
|
||||
$(CC) -o $@ $(OBJECTS) $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
rm -f *.o *.res *.d
|
||||
|
||||
Reference in New Issue
Block a user