# From your browser save this file as text-file named as 'Makefile'.
EXE=procautostart SRCS=procautostart.cpp debug.cpp OBJS=procautostart.o debug.o CXX=gcc HOSTFLAG=-DLinux #HOSTFLAG=-DSunOS # Do not use compiler optimizer -O as this may break the program # Use debug flag to enable the debug() function. If DEBUG is not # defined than the function debug() is set to void(), similar # to assert() # Use options -Wall (all warning msgs) -O3 (optimization) #MYCFLAGS=-DDEBUG -g -Wall MYCFLAGS=-O3 -Wall all: $(OBJS) $(CXX) $(HOSTFLAG) $(MYCFLAGS) $(OBJS) -o $(EXE) $(OBJS): $(SRCS) $(CXX) -c $(HOSTFLAG) $(MYCFLAGS) $(SRCS) clean: rm -f *.o *.log *.log.old *.pid core err a.out afiedt.buf rm -f $(EXE)
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |