-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
33 lines (24 loc) · 903 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Makefile
#
# Created on: 13.11.2009
# Author: Andrea Palmatè
#
#
CC = ppc-amigaos-gcc
DEBUG = -O0 -gstabs -DDEBUG
RELEASE = -O3 -ffast-math
CFLAGS = $(RELEASE) $(DEBUG) -I. -Iinclude -Wall -DCATCOMP_NUMBERS -DCATCOMP_STRINGS
LDFLAGS = -athread=native -use-dynld -Wl,-export-dynamic
LIBS = -L../iODBCGui -liodbc -liodbcinst -ldl -lpthread -lunix -lauto -lraauto
EXENAME = "SQL Manager"
SRC = SQLManager_glue.c SQLManager_connect.c SQLManager_utils.c SQLManager_cat.c SQLManager.c
OBJ = $(SRC:.c=.o)
all: SQLManager_cat.h SQLManager
SQLManager_cat.h: SQLManager.ct SQLManager.cd
@echo Making Catalog code...
# @catcomp DESCRIPTOR SQLManager.cd CFILE SQLManager_cat.h NOBLOCK NOCODE
SQLManager: $(OBJ) SQLManager_cat.h SQLManager.h
$(CC) $(LDFLAGS) $(DEBUG) $(CFLAGS) -o $(EXENAME) $(OBJ) $(LIBS)
echo "Done"
clean:
rm -f $(OBJ) $(EXENAME)