File: Makefile.win32

package info (click to toggle)
c2n 1.1.4-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 168 kB
  • ctags: 145
  • sloc: ansic: 2,207; makefile: 83
file content (18 lines) | stat: -rw-r--r-- 424 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
### -*- Makefile -*- for Win32 systems

# Location of the compiler
PATH := /usr/local/cross-tools/bin:/usr/local/cross-tools/i386-mingw32msvc/bin:$(PATH)
CC = gcc
CFLAGS = -Wall -O3 -fomit-frame-pointer
LDFLAGS = -s
DEFINES =

target: zip

include Makefile

zip: COPYING ChangeLog c2n.txt $(TARGET)
	zip -l c2n.zip COPYING ChangeLog c2n.txt
	mv $(TARGET) $(TARGET).exe
	zip c2n.zip $(TARGET).exe
	mv $(TARGET).exe $(TARGET)