File: Makefile

package info (click to toggle)
win32-loader 0.10.6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 1,868 kB
  • sloc: ansic: 2,492; sh: 706; asm: 344; makefile: 338
file content (20 lines) | stat: -rw-r--r-- 430 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Licensed under the zlib/libpng license (same as NSIS)

AS = i686-w64-mingw32-as
LD = i686-w64-mingw32-ld
IMAGE_BASE = 0x400000
ASFLAGS = --defsym IMAGE_BASE=$(IMAGE_BASE) -march=i486
LDFLAGS = --image-base $(IMAGE_BASE) --strip-all --subsystem windows

TARGET = instdlg.exe
instdlg_OBJS = instdlg.o

.PHONY: clean

all:: $(TARGET)

clean::
	rm -f $(TARGET) $(instdlg_OBJS)

$(TARGET): $(instdlg_OBJS)
	$(LD) $(LDFLAGS) $^ -o $@