Basic project structure
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# This Makefile is just for the convenience of being able to make
|
||||
# while having the shell be in src/
|
||||
|
||||
.PHONY: FORCE
|
||||
|
||||
FORCE:
|
||||
$(MAKE) -C .. $(MAKECMDGOALS)
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
#include <iup.h>
|
||||
#include <stddef.h>
|
||||
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
IupOpen (&argc, &argv);
|
||||
|
||||
Ihandle *dlg = IupDialog (NULL);
|
||||
IupSetAttribute (dlg, "TITLE", "DocMan");
|
||||
|
||||
IupShowXY (dlg, IUP_CENTER, IUP_CENTER);
|
||||
IupMainLoop ();
|
||||
IupClose ();
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user