File: Makefile

package info (click to toggle)
readpe 0.85.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,636 kB
  • sloc: ansic: 21,151; xml: 558; makefile: 448; sh: 422
file content (14 lines) | stat: -rw-r--r-- 277 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# This is probably not standardized but WorksForMe
CC = x86_64-w64-mingw32-gcc
# Very generic test file
CFLAGS += -DNDEBUG -Oz -mtune=generic -march=x86-64 -s -Wl,-s -Wl,--gc-sections

all: helloworld.exe

.PHONY: all 

helloworld: helloworld.c

%.exe: %
	mv $@ ../samples/$@