All pastes #428920 Raw Edit

Makefile for node_6

public text v1 · immutable
·published 2007-04-07 22:24 UTC
rendered paste body
# BEGIN

CC     = gcc
AS     = as.exe
EXEEXT = .exe

APP_NAME = scrcap
APP_OBJ  = scrcap.o screencap.o resizeimg.o

INCLUDES     = -Ilibpng-1.2.16/include -Izlib-1.2.3/include
# Linking
LIBRARIES    = -L./libpng-1.2.16/lib -L./zlib-1.2.3/lib -lpng -lz
STATIC_LPNG = -Wl,-dn,-t $(LIBRARIES) -Wl,-dy

CFLAGS   += -O0 -g3 -Wall -pipe $(INCLUDES)
LDFLAGS  += -mwindows

$(APP_NAME)$(EXEEXT): $(APP_OBJ)
<TAB>$(LINK.c) -o $@ $(APP_OBJ) $(STATIC_LPNG)

scrcap.o:

screencap.o:

resizeimg.o: resizeimg.s
	$(AS) $(ASMFLAGS) -o $@ $^

.PHONY: clean

clean:
	rm -rf *.o *~

# END