#****************************************************************************;
#                                                                            ;
#  Makefile  -  project LMP control center                                   ;
#                                                                            ;
#  The program lmpc is a LMP conversion utility                              ;
#                                                                            ;
#  Uwe Girlich                                                               ;
#  Erika-von-Brockdorff-Strasse 2                                            ;
#  04159 Leipzig                                                             ;
#  Deutschland / Germany                                                     ;
#  E-mail: girlich@aix520.informatik.uni-leipzig.de                          ;
#                                                                            ;
#****************************************************************************;

#----------------------------------------------------------------------------;
# system dependent part, uncomment the right lines

# OS: LINUX, binary: LINUX
CC=gcc
OBJS=${PROJECT}.o tools.o ulmp.o

# OS: LINUX, binary: MS-DOS
# CC=go32gcc
# OBJS=${PROJECT}.o tools.o ulmp.o getopt.o getopt1.o

# OS: MS-DOS, binary: MS-DOS
# CC=gcc
# OBJS=${PROJECT}.o tools.o ulmp.o getopt.o getopt1.o

# end of system dependent part
#----------------------------------------------------------------------------;

all: ../bin/${PROJECT}
lmpc.c: ulmp.h tools.h
ulmp.c: ulmp.h tools.h
tools.c: tools.h

# the remaining part is the compiling Makefile for small projects with src dir

CFLAGS=-O2 -Wall -DVERSION=\"${VERSION}\" -DDATE=\"${DATE}\"
LD=${CC}
LDFLAGS= 
LIBS=-lm

../bin/${PROJECT}: ${OBJS}
	${LD} ${LDFLAGS} ${OBJS} ${LIBS} -o $@

clean:
	rm -f ${OBJS} core

#----------------------------------------- file end Makefile ------------------;
