makefile.lnx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm creating my makefie.lnx for my c++ app.
I did this:

C_FLAGS = -O6
CC = g++
all: football football.xpl

football: Football.o moc_Football.o
	  $(CC) -o $@ $+ -L$(QTDIR)/lib -lqt
-L$(AMZI_DIR)/lib $(C_FLAGS) -lamzi -lm -lstdc++


Football.o:     Football.cpp Football.h LS.h Splash.h
	        $(CC) -c $< -I$(QTDIR)/include
-I$(AMZI_DIR)/include

moc_Football.o: moc_Football.cpp Football.h
	        $(CC) -c $< -I$(QTDIR)/include

moc_Football.cpp : Football.h
	           moc -o $@ $<

moc_Splash.cpp :   Splash.h
	           moc -o $@ $<

football.xpl: football.pro
	      acmp football
	      alnk football football

This run well. However every time I quit the app the
segmentation fault occurs and some of the
functionality of the app is not working fine.



Regards
eric





__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



_______________________________________________
Redhat-devel-list mailing list
Redhat-devel-list@redhat.com
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

[Index of Archives]     [Kernel Newbies]     [Red Hat General]     [Fedora]     [Red Hat Install]     [Linux Kernel Development]     [Yosemite News]

  Powered by Linux