TARGETBIN = video_post TARGETOBJ = video_post.o X86EMUOBJ = x86emu/libx86emu.a all: $(TARGETOBJ) $(X86EMUOBJ) gcc -o $(TARGETBIN) $(TARGETOBJ) $(X86EMUOBJ) $(X86EMUOBJ): make -C x86emu/ -f makefile.linux INCS = -I. -Ix86emu -I../../include -I../x86emu_include CFLAGS = -D__DRIVER__ -DFORCE_POST -D_CEXPORT= -DNO_LONG_LONG .c.o: gcc -g -O -Wall -c $(CFLAGS) $(INCS) $*.c .cpp.o: gcc -c $(CFLAGS) $(INCS) $*.cpp clean: rm -f $(TARGETOBJ) make -C x86emu/ -f makefile.linux clean clobber: rm -f $(TARGETBIN) $(TARGETOBJ) make -C x86emu/ -f makefile.linux clean