popen.exe: popen.obj getswitch.obj
	tcc -epopen popen.obj getswitch.obj

popen.obj: popen.c popen.h
	tcc -c -DDEMO popen.c

getswitch.obj: getswitch.c
	tcc -c getswitch.c

clean:
	rm -f *.obj core *.map

clobber: clean
	rm -f *.exe install
	
install:
	tcc -c popen.c
	@echo What next?
