2001-05-23 15:26:42 +02:00
|
|
|
!IF "$(OS)" == "Windows_NT"
|
|
|
|
|
|
|
|
# NOTE - If you enter an absolute path to gpre.exe, it MUST use
|
|
|
|
# MS-DOS style backslash!
|
|
|
|
GPRE_PGM=..\..\bin\gpre
|
|
|
|
|
|
|
|
DELETE_COMMAND=del /q
|
|
|
|
|
|
|
|
!ELSE
|
|
|
|
|
|
|
|
!ERROR Running on unknown operating system.
|
|
|
|
|
|
|
|
!ENDIF
|
|
|
|
|
|
|
|
REL_SRC_DIR=../../src/isql
|
|
|
|
|
|
|
|
|
2002-02-26 14:48:58 +01:00
|
|
|
CPP_FILES=extract.cpp isql.cpp show.cpp
|
2001-05-23 15:26:42 +02:00
|
|
|
|
2002-02-26 14:48:58 +01:00
|
|
|
all: $(CPP_FILES)
|
2001-05-23 15:26:42 +02:00
|
|
|
|
|
|
|
clean :
|
2002-02-26 14:48:58 +01:00
|
|
|
-$(DELETE_COMMAND) *.cpp
|
2001-05-23 15:26:42 +02:00
|
|
|
|
2002-02-26 14:48:58 +01:00
|
|
|
extract.cpp : $(REL_SRC_DIR)/extract.epp
|
2001-05-23 15:26:42 +02:00
|
|
|
$(GPRE_PGM) -r -m -n $? -o >$@
|
|
|
|
|
2002-02-26 14:48:58 +01:00
|
|
|
isql.cpp : $(REL_SRC_DIR)/isql.epp
|
2001-05-23 15:26:42 +02:00
|
|
|
$(GPRE_PGM) -r -m -n $? -o >$@
|
|
|
|
|
2002-02-26 14:48:58 +01:00
|
|
|
show.cpp : $(REL_SRC_DIR)/show.epp
|
2001-05-23 15:26:42 +02:00
|
|
|
$(GPRE_PGM) -r -m -n $? -o >$@
|
|
|
|
|